Cleantalk\Common\Sanitize S

Total Complexity 27
Dependencies 0
Dependents 0
Total lines 202
Lines of code 63
Logical lines of code 18
Comment lines 89
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
sanitize()
S
60 6 15
cleanXss()
S
69 2 6
cleanTitleWithDashes()
S
89 1 2
cleanTitleForQuery()
S
89 1 2
cleanTitle()
S
89 1 2
cleanTextareaField()
S
89 1 2
cleanTextField()
S
89 1 2
cleanSqlOrderBy()
S
89 1 2
cleanOption()
S
89 1 2
cleanMimeType()
S
89 1 2
cleanKey()
S
89 1 2
cleanMeta()
S
89 1 2
cleanHtmlClass()
S
89 1 2
cleanHexColorNoHash()
S
89 1 2
cleanHexColor()
S
89 1 2
cleanFileName()
S
89 1 2
cleanEmail()
S
81 1 3
cleanInt()
S
78 1 3
cleanWord()
S
78 1 3
cleanUrl()
S
78 1 3
cleanUser()
S
89 1 2